package com.enjoy;

import com.enjoy.springboot.WhhSpringApplication;
import com.enjoy.springboot.anno.WhhSpringBootApplication;
import org.springframework.context.ApplicationContext;

@WhhSpringBootApplication
public class MyApplication {
    public static void main(String[] args) {
        ApplicationContext context = WhhSpringApplication.run(MyApplication.class);

        for (String name : context.getBeanDefinitionNames()) {
            System.out.println(name);
        }

    }
}
